package algorithm

import "fmt"

func Swap(n1, n2 int) (int, int) {
	return n2, n1
}

func SwapDemo() {
	a := 10
	b := 20
	a = a + b
	b = a - b
	a = a - b
	fmt.Println(a, b)
}
